﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F61 RID: 3937
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicScepterDressInUnitCsReq : IMessage<RogueMagicScepterDressInUnitCsReq>, IMessage, IEquatable<RogueMagicScepterDressInUnitCsReq>, IDeepCloneable<RogueMagicScepterDressInUnitCsReq>, IBufferMessage
	{
		// Token: 0x170031F8 RID: 12792
		// (get) Token: 0x0600B07D RID: 45181 RVA: 0x001DD733 File Offset: 0x001DB933
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicScepterDressInUnitCsReq> Parser
		{
			get
			{
				return RogueMagicScepterDressInUnitCsReq._parser;
			}
		}

		// Token: 0x170031F9 RID: 12793
		// (get) Token: 0x0600B07E RID: 45182 RVA: 0x001DD73A File Offset: 0x001DB93A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicScepterDressInUnitCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170031FA RID: 12794
		// (get) Token: 0x0600B07F RID: 45183 RVA: 0x001DD74C File Offset: 0x001DB94C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicScepterDressInUnitCsReq.Descriptor;
			}
		}

		// Token: 0x0600B080 RID: 45184 RVA: 0x001DD753 File Offset: 0x001DB953
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterDressInUnitCsReq()
		{
		}

		// Token: 0x0600B081 RID: 45185 RVA: 0x001DD75B File Offset: 0x001DB95B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterDressInUnitCsReq(RogueMagicScepterDressInUnitCsReq other) : this()
		{
			this.diceSlotId_ = other.diceSlotId_;
			this.dressMagicUnitUniqueId_ = other.dressMagicUnitUniqueId_;
			this.scepterId_ = other.scepterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B082 RID: 45186 RVA: 0x001DD798 File Offset: 0x001DB998
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterDressInUnitCsReq Clone()
		{
			return new RogueMagicScepterDressInUnitCsReq(this);
		}

		// Token: 0x170031FB RID: 12795
		// (get) Token: 0x0600B083 RID: 45187 RVA: 0x001DD7A0 File Offset: 0x001DB9A0
		// (set) Token: 0x0600B084 RID: 45188 RVA: 0x001DD7A8 File Offset: 0x001DB9A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DiceSlotId
		{
			get
			{
				return this.diceSlotId_;
			}
			set
			{
				this.diceSlotId_ = value;
			}
		}

		// Token: 0x170031FC RID: 12796
		// (get) Token: 0x0600B085 RID: 45189 RVA: 0x001DD7B1 File Offset: 0x001DB9B1
		// (set) Token: 0x0600B086 RID: 45190 RVA: 0x001DD7B9 File Offset: 0x001DB9B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DressMagicUnitUniqueId
		{
			get
			{
				return this.dressMagicUnitUniqueId_;
			}
			set
			{
				this.dressMagicUnitUniqueId_ = value;
			}
		}

		// Token: 0x170031FD RID: 12797
		// (get) Token: 0x0600B087 RID: 45191 RVA: 0x001DD7C2 File Offset: 0x001DB9C2
		// (set) Token: 0x0600B088 RID: 45192 RVA: 0x001DD7CA File Offset: 0x001DB9CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScepterId
		{
			get
			{
				return this.scepterId_;
			}
			set
			{
				this.scepterId_ = value;
			}
		}

		// Token: 0x0600B089 RID: 45193 RVA: 0x001DD7D3 File Offset: 0x001DB9D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicScepterDressInUnitCsReq);
		}

		// Token: 0x0600B08A RID: 45194 RVA: 0x001DD7E4 File Offset: 0x001DB9E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicScepterDressInUnitCsReq other)
		{
			return other != null && (other == this || (this.DiceSlotId == other.DiceSlotId && this.DressMagicUnitUniqueId == other.DressMagicUnitUniqueId && this.ScepterId == other.ScepterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B08B RID: 45195 RVA: 0x001DD840 File Offset: 0x001DBA40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DiceSlotId != 0U)
			{
				num ^= this.DiceSlotId.GetHashCode();
			}
			if (this.DressMagicUnitUniqueId != 0U)
			{
				num ^= this.DressMagicUnitUniqueId.GetHashCode();
			}
			if (this.ScepterId != 0U)
			{
				num ^= this.ScepterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B08C RID: 45196 RVA: 0x001DD8B1 File Offset: 0x001DBAB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B08D RID: 45197 RVA: 0x001DD8B9 File Offset: 0x001DBAB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B08E RID: 45198 RVA: 0x001DD8C4 File Offset: 0x001DBAC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.DiceSlotId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.DiceSlotId);
			}
			if (this.DressMagicUnitUniqueId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.DressMagicUnitUniqueId);
			}
			if (this.ScepterId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ScepterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B08F RID: 45199 RVA: 0x001DD93C File Offset: 0x001DBB3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DiceSlotId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DiceSlotId);
			}
			if (this.DressMagicUnitUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DressMagicUnitUniqueId);
			}
			if (this.ScepterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScepterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B090 RID: 45200 RVA: 0x001DD9AC File Offset: 0x001DBBAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicScepterDressInUnitCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DiceSlotId != 0U)
			{
				this.DiceSlotId = other.DiceSlotId;
			}
			if (other.DressMagicUnitUniqueId != 0U)
			{
				this.DressMagicUnitUniqueId = other.DressMagicUnitUniqueId;
			}
			if (other.ScepterId != 0U)
			{
				this.ScepterId = other.ScepterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B091 RID: 45201 RVA: 0x001DDA10 File Offset: 0x001DBC10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B092 RID: 45202 RVA: 0x001DDA1C File Offset: 0x001DBC1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 56U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.ScepterId = input.ReadUInt32();
						}
					}
					else
					{
						this.DressMagicUnitUniqueId = input.ReadUInt32();
					}
				}
				else
				{
					this.DiceSlotId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004788 RID: 18312
		private static readonly MessageParser<RogueMagicScepterDressInUnitCsReq> _parser = new MessageParser<RogueMagicScepterDressInUnitCsReq>(() => new RogueMagicScepterDressInUnitCsReq());

		// Token: 0x04004789 RID: 18313
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400478A RID: 18314
		public const int DiceSlotIdFieldNumber = 3;

		// Token: 0x0400478B RID: 18315
		private uint diceSlotId_;

		// Token: 0x0400478C RID: 18316
		public const int DressMagicUnitUniqueIdFieldNumber = 7;

		// Token: 0x0400478D RID: 18317
		private uint dressMagicUnitUniqueId_;

		// Token: 0x0400478E RID: 18318
		public const int ScepterIdFieldNumber = 13;

		// Token: 0x0400478F RID: 18319
		private uint scepterId_;
	}
}
